package com.business.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
    static SimpleDateFormat formatter_1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    public static String date2str(Date date){
        String str=formatter_1.format(date);
        return str;
    }

}
